

<div class="content">

	<?php if (is_array($message)) : ?>
	<div class="messages <?php echo $message['class']; ?>"><?php echo $message['text']; ?></div>
	<?php endif; ?>

	<ul id="links">
		<li>
	<?php echo anchor('ligature/editPost', 'Write new post'); ?>
		</li>
		<li>
	<?php echo anchor('ligature/post', 'View post'); ?>
		</li>
	</ul>

	<div class="page-description">
		Displays search results.
	</div>

	<table class="entityList">
	<tr>
		<th>Post ID</th>
		<th>Author's Name</th>
		<th>Author's Twitter Screen Name</th>
		<th>Title</th>
		<th>Content</th>
		<th>Slug</th>
		<th>Date Created</th>
		<th>Date Created Local Time</th>
		<th>Comment Count</th>
		<th>Tweet ID</th>
	</tr>
	<?php foreach ($searchResults as $post) : ?>
	<tr>
		<td><?php echo $post->getPostId(); ?></td>
		<td><?php echo $post->getAuthorName(); ?></td>
		<td><?php echo $post->getAuthorTwitterScreenName(); ?></td>
		<td><?php echo $post->getTitle(); ?></td>
		<td><?php echo $post->getContent(); ?></td>
		<td><?php echo $post->getSlug(); ?></td>
		<td><?php echo $post->getDateCreated(); ?></td>
		<td><?php echo $post->getDateCreatedLocal(); ?></td>
		<td><?php echo $post->getCommentCount(); ?></td>
		<td><?php echo $post->getTweetId(); ?></td>
	</tr>
	<?php endforeach; ?>
	</table>
	<table class="entityList">
	<tr>
		<th>Comment ID</th>
		<th>Post ID</th>
		<th>Post Title</th>
		<th>Post Slug</th>
		<th>Author ID</th>
		<th>Author's Name</th>
		<th>Author's Twitter Screen Name</th>
		<th>Comment</th>
		<th>Date Created</th>
		<th>Date Created Local Time</th>
	</tr>
	<?php foreach ($recentComments as $comment) : ?>
	<tr>
		<td><?php echo $comment->getCommentId(); ?></td>
		<td><?php echo $comment->getPostId(); ?></td>
		<td><?php echo $comment->getPostTitle(); ?></td>
		<td><?php echo $comment->getPostSlug(); ?></td>
		<td><?php echo $comment->getAuthorId(); ?></td>
		<td><?php echo $comment->getAuthorName(); ?></td>
		<td><?php echo $comment->getAuthorTwitterScreenName(); ?></td>
		<td><?php echo $comment->getComment(); ?></td>
		<td><?php echo $comment->getDateCreated(); ?></td>
		<td><?php echo $comment->getDateCreatedLocal(); ?></td>
	</tr>
	<?php endforeach; ?>
	</table>



</div>
<?php /* clickframes::version=3727845756::clickframes */ ?>